On Searching Zimin Patterns
نویسندگان
چکیده
In the area of pattern avoidability the central role is played by special words called Zimin patterns. The symbols of these patterns are treated as variables and the rank of the pattern is its number of variables. Zimin type of a word x is introduced here as the maximum rank of a Zimin pattern matching x. We show how to compute Zimin type of a word on-line in linear time. Consequently we get a quadratic time, linear-space algorithm for searching Zimin patterns in words. Then we how the Zimin type of the length n prefix of the infinite Fibonacci word is related to the representation of n in the Fibonacci numeration system. Using this relation, we prove that Zimin types of such prefixes and Zimin patterns inside them can be found in logarithmic time. Finally, we give some bounds on the function f(n, k) such that every k-ary word of length at least f(n, k) has a factor that matches the rank n Zimin pattern.
منابع مشابه
Intractability of the Reductive Decision Procedure for Unavoidability Testing, a Special Case of Generalized Pattern Matching
We formulate the Generalized Pattern Matching decision problem, a natural extension of string searching capturing regularities across scale. The special case of Unavoidability Testing is obtained for pure generalized patterns by fixing an appropriate family of text strings – the Zimin words. We investigate the complexity of the known methods for solving this restricted decision problem. Althoug...
متن کاملObservations On Compressed Pattern-Matching with Ranked Variables in Zimin Words
Zimin words are very special finite words which are closely related to the pattern-avoidability problem. This problem consists in testing if an instance of a given pattern with variables occurs in almost all words over any finite alphabet. The problem is not well understood, no polynomial time algorithm is known and its NP-hardness is also not known. The pattern-avoidability problem is equivale...
متن کاملOn Long Words Avoiding Zimin Patterns
A pattern is encountered in a word if some infix of the word is the image of the pattern under some non-erasing morphism. A pattern p is unavoidable if, over every finite alphabet, every sufficiently long word encounters p. A theorem by Zimin and independently by Bean, Ehrenfeucht and McNulty states that a pattern over n distinct variables is unavoidable if, and only if, p itself is encountered...
متن کاملTower-type bounds for unavoidable patterns in words
A word w is said to contain the pattern P if there is a way to substitute a nonempty word for each letter in P so that the resulting word is a subword of w. Bean, Ehrenfeucht and McNulty and, independently, Zimin characterised the patterns P which are unavoidable, in the sense that any sufficiently long word over a fixed alphabet contains P . Zimin’s characterisation says that a pattern is unav...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1409.8235 شماره
صفحات -
تاریخ انتشار 2014